package com.yixing.tech.common.service.impl;

import com.yixing.tech.common.base.BusinessException;
import com.yixing.tech.common.service.AbstractUserDetailsService;
import com.yixing.tech.common.security.AuthenticationUser;
import com.yixing.tech.common.service.SysAuthUserService;
import lombok.extern.slf4j.Slf4j;

/**
 * DefaultSysAuthUserServiceImpl
 *
 * @author <a href="mailto:brucezhang_jjz@163.com">zhangj</a>
 * @since 1.0.0
 */
@Slf4j
public class DummyUserDetailsServiceImpl extends AbstractUserDetailsService {

    private final SysAuthUserService sysAuthUserService;

    public DummyUserDetailsServiceImpl(SysAuthUserService sysAuthUserService) {
        this.sysAuthUserService = sysAuthUserService;
    }

    /**
     * 内部的加载用户信息
     */
    @Override
    protected AuthenticationUser loadUserByUsernameInternal(String username) {
        log.error("需要实现 com.yixing.tech.common.service.AbstractUserDetailsService ");
        return null;
    }
}
